package operator;

import book.Book;
import book.BookList;

public class ShowOparetor implements IOperator{
    @Override
    public void work(BookList bookList) {
        System.out.println("增显图书");
        int bookSize = bookList.getUseSize();
        for(int i = 0; i < bookSize; i++){
            Book book = bookList.getPos(i);
            System.out.println(book);
        }
    }
}
